function plotParamsRF(Mdl, imp)

view(Mdl.Trees{1},'Mode','graph')

figure;
oobErrorBaggedEnsemble = oobError(Mdl);
plot(oobErrorBaggedEnsemble)
xlabel 'Number of grown trees';
ylabel 'Out-of-bag classification error';

figure;
bar(abs(imp));
ylabel('Predictor importance estimates');
xlabel('Predictors');
xticks(1:numel(imp));
h = gca;
h.XTickLabel = Mdl.PredictorNames;
h.XTickLabelRotation = 45;
h.TickLabelInterpreter = 'none';

end
